import axios from './base'
import type { IMenuList } from '@/biz/repo/good'

export const fetchGoodsList = (id: string) => {
  return axios.get<IMenuList, IMenuList>('goods_list', {
    params: {
      id
    }
  })
}
